package com.aabte.mybatis.mapper;

import com.aabte.mybatis.bean.Employee;
import org.apache.ibatis.annotations.Select;

public interface EmployeeMapperAnnotation {

    @Select("select id, last_name as lastName，gender, email " +
            "from tbl_employee " +
            "where id = #{id}")
    Employee findEmployeeById(int id);

}
